package com.lyy.controller;

import com.lyy.entity.Constant;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Liangyaoyun
 */
@RestController
@RequestMapping("/api/v1")
public class ConstantController {
    @Autowired
    public Constant constant;
    @RequestMapping("/constant")
    public Object test(){
        return constant;
    }

}
